package com.itheima.prince.smartpeking.impl;

import android.content.Context;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;

import com.itheima.prince.smartpeking.base.BasePager;

/**
 * Created by Prince on 2016/10/20.
 */
public class GovPager extends BasePager {

    public GovPager(Context context) {
        super(context);
    }

    @Override
    public void initdata() {
        Log.d("aaa","政务中心加载了");
        mtitle.setText("政务中心");


        TextView textView = new TextView(mcontext);
        textView.setText("我是政务中心");
        textView.setGravity(Gravity.CENTER);
        mcontent.removeAllViews();
        mcontent.addView(textView);
    }
}
